<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var cardId = window.dialogArguments;
var getcardUrl = "/card/get/";
var editcardUrl = "/card/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getcardUrl,
		   data: "cardId=" + cardId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#cardId").html(result.cardId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#desc").html('"'+result.desc+'"');				   $("#module").html(result.module);				   $("#catalog").html(result.catalog);				   $("#type").html(result.type);				   $("#quality").html(result.quality);				   $("#award").html(result.award);				   $("#condition").html(result.condition);				   $("#nextCardId").html(result.nextCardId);				   $("#cardres").html(result.cardres);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">cardId:</span><span id="cardId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">module:</span><span id="module" class="jsonvalue"></span>,<br/>
<span class="jsonkey">catalog:</span><span id="catalog" class="jsonvalue"></span>,<br/>
<span class="jsonkey">type:</span><span id="type" class="jsonvalue"></span>,<br/>
<span class="jsonkey">quality:</span><span id="quality" class="jsonvalue"></span>,<br/>
<span class="jsonkey">award:</span><span id="award" class="jsonvalue"></span>,<br/>
<span class="jsonkey">condition:</span><span id="condition" class="jsonvalue"></span>,<br/>
<span class="jsonkey">nextCardId:</span><span id="nextCardId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">cardres:</span><span id="cardres" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>